package com.victor.core.util;

import java.util.List;

/**
 * 上传文件类
 */
public class UploadFile {
    /**
     * 文件名
     */
    private String name;
    /**
     * 文件路径
     */
    private String path;
    /**
     * 失败条数
     */
    private int failCount;
    /**
     * 成功条数
     */
    private int successCount;
    /**
     * 失败文件路径
     */
    private String failFilePath;
    /**
     * 成功路径
     */
    private String successFilePath;
    /**
     * 失败信息
     */
    private String failReason;
    /**
     * javabean 集合
     */
    private List<Object> objList;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getFailCount() {
        return failCount;
    }

    public void setFailCount(int failCount) {
        this.failCount = failCount;
    }

    public int getSuccessCount() {
        return successCount;
    }

    public void setSuccessCount(int successCount) {
        this.successCount = successCount;
    }

    public String getFailReason() {
        if (failReason == null) {
            return "";
        }
        return failReason;
    }

    public void setFailReason(String failReason) {
        this.failReason = failReason;
    }

    public String getFailFilePath() {
        return failFilePath;
    }

    public void setFailFilePath(String failFilePath) {
        this.failFilePath = failFilePath;
    }

    public String getSuccessFilePath() {
        return successFilePath;
    }

    public void setSuccessFilePath(String successFilePath) {
        this.successFilePath = successFilePath;
    }


    public List<Object> getObjList() {
        return objList;
    }

    public void setObjList(List<Object> objList) {
        this.objList = objList;
    }

}
